package com.yue.rpc.dubbo.impl;

import com.yue.rpc.dubbo.RpcDemoService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @Author zhangqiyue
 * @Description
 * @Date 2023/3/16 19:56
 */
@Slf4j
@DubboService
public class RpcDemoServiceImpl implements RpcDemoService {
    @Override
    public String testRpc(String message) {
        log.info("RpcServiceImpl收到: {}.", message);
        String result = "Test Description is " + message;
        log.info("RpcServiceImpl返回: {}.", result);
        return result;
    }
}
